

<%@ page import="com.surelution.projects.crm.GasCardRecharge" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta name="layout" content="main" />
        <g:set var="entityName" value="${message(code: 'gasCardRecharge.label', default: 'GasCardRecharge')}" />
        <title><g:message code="default.create.label" args="[entityName]" /></title>
    </head>
    <body>
        <div class="nav">
            <span class="menuButton"><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></span>
            <span class="menuButton"><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></span>
            <span class="menuButton"><g:link class="list" action="list" controller="cardList"><g:message code="default.cardList.label" /></g:link></span>
            <span class="menuButton"><g:link class="list" action="list" controller="cardPlanList"><g:message code="default.cardPlanList.label" /></g:link></span>
            <span class="menuButton"><g:link class="list" action="list" controller="cardConsumeRaw"><g:message code="default.cardconsumeList.label" /></g:link></span>
        </div>
        <div class="body">
            <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
            <g:hasErrors bean="${gasCardRechargeInstance}">
            <div class="errors">
                <g:renderErrors bean="${gasCardRechargeInstance}" as="list" />
            </div>
            </g:hasErrors>

            <div style="display:inline;">
	            <g:uploadForm action="cardRechargeImport">
		            <div style="padding-top:30px;width:500px;">加油卡充值明细——文件导入(用于统计沉淀资金)</div>
	                <div class="dialog">
	            		<g:field type="file" name="gasCardRechargeFile"/>
	            	</div>
	            	<div class="buttons">
	            		<span class="button"><g:submitButton name="upload" class="save" value="${message(code: 'default.button.upload.label', default: 'Upload')}" /></span>
	            	</div>
	            </g:uploadForm>
            </div>

            <div style="display:inline;position:relative;">
	            <g:uploadForm action="cardImport" controller="cardList">
		            <div style="padding-top:30px;width:500px;">加油卡开卡明细——文件导入(用于作开卡量同比环比查询)</div>
	                <div class="dialog">
	            		<g:field type="file" name="cardFile"/><br>
	            	</div>
	            	<div class="buttons">
	            		<span class="button"><g:submitButton name="upload" class="save" value="${message(code: 'default.button.upload.label', default: 'Upload')}" /></span>
	            	</div>
	            </g:uploadForm>
            </div>   
            
            <g:uploadForm action="cardPlan" controller="cardPlanList">
            <div style="padding-top:30px;">加油卡开卡计划表——文件导入</div>
                <div class="dialog">
            		<g:field type="file" name="cardPlan"/>
            	</div>
            	<div class="buttons">
            		<span class="button"><g:submitButton name="upload" class="save" value="${message(code: 'default.button.upload.label', default: 'Upload')}" /></span>
            	</div>
            </g:uploadForm>
            
            <div style="display:inline;">
	            <g:uploadForm action="importCardConsumeRaw" controller="cardConsumeRaw">
		            <div style="padding-top:30px;width:500px;">加油卡消费明细——文件导入</div>
	                <div class="dialog">
	            		<g:field type="file" name="cardConsumeRawFile"/>
	            	</div>
	            	<div class="buttons">
	            		<span class="button"><g:submitButton name="upload" class="save" value="${message(code: 'default.button.upload.label', default: 'Upload')}" /></span>
	            	</div>
	            </g:uploadForm>
            </div>
            
            
        </div>
    </body>
</html>
